package com.flca.frw.dbs;

import com.flca.frw.dao.Dao;
import com.flca.frw.dao.PersistenceType;

/**
 * Use this class if you dont have any database in your application.
 * @author nly36776
 *
 */
public class DummyDaoImpl implements Dao {

	private static final long serialVersionUID = 1L;

	@Override
	public Object getObjectMgr() {
		return null;
	}

	@Override
	public boolean isInTransaction() throws Exception {
		return false;
	}

	@Override
	public void commit() throws Exception {
	}

	@Override
	public void rollback() throws Exception {
	}

	@Override
	public void startTransaction() throws Exception {
	}

	@Override
	public PersistenceType technology() {
		return null;
	}
}
